package javax.per.toolkit.mail;

import java.util.ArrayList;
import java.util.List;

/**
 * 
 * @author yl34569
 *
 */
public class MailReceiveInfo {
	private String messageId;
	private int messageNumber;
	private String fromAddress;
	private String fromPerson;
	private List<String> toAddress=new ArrayList<String>();
	private List<String> toPerson=new ArrayList<String>();
	private List<String> ccAddress=new ArrayList<String>();
	private List<String> ccPerson=new ArrayList<String>();
	private String subject;
	private String date;
	private String content;
	private boolean hasReplySign;
	private boolean isNew;
	private boolean isContainAttach;
	
	
	public void setToAddress(List<String> toAddress) {
		this.toAddress = toAddress;
	}
	public void setToPerson(List<String> toPerson) {
		this.toPerson = toPerson;
	}
	public void setCcAddress(List<String> ccAddress) {
		this.ccAddress = ccAddress;
	}
	public void setCcPerson(List<String> ccPerson) {
		this.ccPerson = ccPerson;
	}
	public int getMessageNumber() {
		return messageNumber;
	}
	public void setMessageNumber(int messageNumber) {
		this.messageNumber = messageNumber;
	}
	public void addToAddress(String to){
		this.toAddress.add(to);
	}
	public void addToPerson(String to){
		this.toPerson.add(to);
	}
	public void addCcAddress(String cc){
		this.ccAddress.add(cc);
	}
	public void addCcPerson(String cc){
		this.ccPerson.add(cc);
	}
	public List<String> getToAddress() {
		return toAddress;
	}
	public List<String> getToPerson() {
		return toPerson;
	}
	public List<String> getCcAddress() {
		return ccAddress;
	}
	public List<String> getCcPerson() {
		return ccPerson;
	}
	public String getMessageId() {
		return messageId;
	}
	public void setMessageId(String messageId) {
		this.messageId = messageId;
	}
	public String getFromAddress() {
		return fromAddress;
	}
	public void setFromAddress(String fromAddress) {
		this.fromAddress = fromAddress;
	}
	public String getFromPerson() {
		return fromPerson;
	}
	public void setFromPerson(String fromPerson) {
		this.fromPerson = fromPerson;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public boolean isHasReplySign() {
		return hasReplySign;
	}
	public void setHasReplySign(boolean hasReplySign) {
		this.hasReplySign = hasReplySign;
	}
	public boolean isNew() {
		return isNew;
	}
	public void setNew(boolean isNew) {
		this.isNew = isNew;
	}
	public boolean isContainAttach() {
		return isContainAttach;
	}
	public void setContainAttach(boolean isContainAttach) {
		this.isContainAttach = isContainAttach;
	}
	
	
}
